package com.ethink.system.api.info;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * 系统用户表 INFO实体
 *
 * @author default
 * @date 2022-11-02
 */
@Data
public class SystemUserSessionInfo {

    @Schema(description = "主键")
    private Long systemUserId;

    @Schema(description = "登录账号")
    private String loginName;

    @Schema(description = "真实姓名")
    private String realName;

    @Schema(description = "手机号")
    private String mobileNo;

    @Schema(description = "邮箱")
    private String email;

    @Schema(description = "uid")
    private String uid;

    @Schema(description = "员工工号")
    private String jobNumber;

    @Schema(description = "枚举 用户状态: 1-启用(enable) | 0-禁用(disable)")
    private Integer enabled;

    @Schema(description = "枚举 用户类型: 1-管理员(manager) |2-普通用户(general)")
    private Integer userType;

    @Schema(description = "最后登录时间")
    private Date lastLoginTime;

    @Schema(description = "菜单权限集合")
    private List<String> menuPathList;

    @Schema(description = "操作权限集合")
    private List<String> optionList;
}
